
#ifndef _DELAYCALL_H
#define _DELAYCALL_H

#include "Common.h"

using namespace cocos2d;

class DelayCall {
public:
    static void tick(float delta);
    static void add(std::function<void(int, bool, int&)> fun, float delay, int count = 1);
    static void clear();
};

#endif
